<template>
	<view>
	
		<cu-custom bgColor="bg-white" :isBack="true">
			<block slot="backText"></block>
			<block slot="content">发布</block>
		</cu-custom>
		
		<view>{{ info }}</view>
	</view>
</template>

<script>
	import { mapActions } from 'vuex'
	export default {
		data() {
			return {
				info: []
			};
		},
		onLoad() {
			this.getData();
		},
		methods:{
			...mapActions(['testData']),
			getData() {
				this.testData().then(res => {
					this.info = res.data
				}).catch(err => {
					
				})
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
